package com.our.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.our.model.News;
@MapperScan
public interface NewsMapper {
    int deleteByPrimaryKey(Integer newsId);

    int insert(News record);

    int insertSelective(News record);

    News selectByPrimaryKey(Integer newsId);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKey(News record);

	List<News> selectAll();

	List<News> selectByTypeId(int typeId);
}